<?php

class Skjb_Search_Xapian_ESetIterator
{
    public $_cPtr=null;

    function __construct($other=null) {
        switch (func_num_args()) {
        case 0: $r=new_ESetIterator(); break;
        default: $r=new_ESetIterator($other);
        }
        $this->_cPtr=$r;
    }

    function get_termname() {
        return ESetIterator_get_termname($this->_cPtr);
    }

    function get_term() {
        return ESetIterator_get_term($this->_cPtr);
    }

    function next() {
        ESetIterator_next($this->_cPtr);
    }

    function prev() {
        ESetIterator_prev($this->_cPtr);
    }

    function equals($other) {
        return ESetIterator_equals($this->_cPtr,$other);
    }

    function get_weight() {
        return ESetIterator_get_weight($this->_cPtr);
    }

    function get_description() {
        return ESetIterator_get_description($this->_cPtr);
    }
}